package com.chinags.system.testingfacility.domain;

import com.chinags.common.annotation.Excel;
import com.chinags.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 检测机构基本表 t_jc_jcjg
 * 
 * @author liut
 * @date 2019-06-20
 */
public class TJcJcjg extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Long jcjgId;
	/** 行数（仅做数据库导出日志使用） */
	@Excel(name = "行数", type = Excel.Type.EXPORT)
	private Integer row;
	/** 信用代码 */
	@Excel(name = "社会统一信用代码")
	private String code;
	/** 监测机构名称 */
	@Excel(name = "机构名称")
	private String agencyName;
	/** 经济性质 */
	private String economicNature;
	/** 资质等级 */
	@Excel(name = "资质等级")
	private String qualification;
	/** 资质有效期起 */
	@Excel(name = "有效开始日期")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date periodStart;
	/** 资质有效期止 */
	@Excel(name = "有效截至日期")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date periodEnd;
	/** 法人代表 */
	@Excel(name = "法人代表")
	private String legalRepresentative;
	/** 身份证 */
	private String idCard;
	/** 单位地址 */
	@Excel(name = "单位地址")
	private String address;
	/** 经度 */
	private String jingDu;
	/** 纬度 */
	private String weiDu;
	/** 所属行政区 */
	@Excel(name = "所属行政区")
	private String district;
	/** 省 */
	private String shengFirst;
	/** 市 */
	private String shiSecond;
	/** 县 */
	private String xianThird;
	/** 邮政编码 */
	private String emailCode;
	/** 成立日期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date date;
	/** 联系人 */
	@Excel(name = "联系人")
	private String tellMan;
	/** 联系职务 */
	private String tellPosition;
	/** 联系电话 */
	@Excel(name = "联系电话")
	private String tellPhone;
	/** 传真 */
	private String fax;
	/** 邮箱 */
	private String email;
	/** 单位网址 */
	private String organizationUrl;
	/** 备注 */
	private String remarks;
	/** 操作人 */
	private String updateUser;
	/** 创建人 */
	private String createUser;

	public void setJcjgId(Long jcjgId) 
	{
		this.jcjgId = jcjgId;
	}

	public Long getJcjgId() 
	{
		return jcjgId;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setAgencyName(String agencyName) 
	{
		this.agencyName = agencyName;
	}

	public String getAgencyName() 
	{
		return agencyName;
	}
	public void setEconomicNature(String economicNature) 
	{
		this.economicNature = economicNature;
	}

	public String getEconomicNature() 
	{
		return economicNature;
	}
	public void setLegalRepresentative(String legalRepresentative) 
	{
		this.legalRepresentative = legalRepresentative;
	}

	public String getLegalRepresentative() 
	{
		return legalRepresentative;
	}
	public void setIdCard(String idCard) 
	{
		this.idCard = idCard;
	}

	public String getIdCard() 
	{
		return idCard;
	}
	public void setAddress(String address) 
	{
		this.address = address;
	}

	public String getAddress() 
	{
		return address;
	}
	public void setJingDu(String jingDu) 
	{
		this.jingDu = jingDu;
	}

	public String getJingDu() 
	{
		return jingDu;
	}
	public void setWeiDu(String weiDu) 
	{
		this.weiDu = weiDu;
	}

	public String getWeiDu() 
	{
		return weiDu;
	}
	public void setDistrict(String district) 
	{
		this.district = district;
	}

	public String getDistrict() 
	{
		return district;
	}
	public void setShengFirst(String shengFirst) 
	{
		this.shengFirst = shengFirst;
	}

	public String getShengFirst() 
	{
		return shengFirst;
	}
	public void setShiSecond(String shiSecond) 
	{
		this.shiSecond = shiSecond;
	}

	public String getShiSecond() 
	{
		return shiSecond;
	}
	public void setXianThird(String xianThird) 
	{
		this.xianThird = xianThird;
	}

	public String getXianThird() 
	{
		return xianThird;
	}
	public void setEmailCode(String emailCode) 
	{
		this.emailCode = emailCode;
	}

	public String getEmailCode() 
	{
		return emailCode;
	}
	public void setDate(Date date) 
	{
		this.date = date;
	}

	public Date getDate() 
	{
		return date;
	}
	public void setTellMan(String tellMan) 
	{
		this.tellMan = tellMan;
	}

	public String getTellMan() 
	{
		return tellMan;
	}
	public void setTellPosition(String tellPosition) 
	{
		this.tellPosition = tellPosition;
	}

	public String getTellPosition() 
	{
		return tellPosition;
	}
	public void setTellPhone(String tellPhone) 
	{
		this.tellPhone = tellPhone;
	}

	public String getTellPhone() 
	{
		return tellPhone;
	}
	public void setFax(String fax) 
	{
		this.fax = fax;
	}

	public String getFax() 
	{
		return fax;
	}
	public void setEmail(String email) 
	{
		this.email = email;
	}

	public String getEmail() 
	{
		return email;
	}
	public void setOrganizationUrl(String organizationUrl) 
	{
		this.organizationUrl = organizationUrl;
	}

	public String getOrganizationUrl() 
	{
		return organizationUrl;
	}
	public void setRemarks(String remarks) 
	{
		this.remarks = remarks;
	}

	public String getRemarks() 
	{
		return remarks;
	}
	public void setUpdateUser(String updateUser) 
	{
		this.updateUser = updateUser;
	}

	public String getUpdateUser() 
	{
		return updateUser;
	}
	public void setCreateUser(String createUser) 
	{
		this.createUser = createUser;
	}

	public String getCreateUser() 
	{
		return createUser;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jcjgId", getJcjgId())
            .append("code", getRow())
            .append("row", getCode())
            .append("agencyName", getAgencyName())
            .append("economicNature", getEconomicNature())
            .append("qualification", getQualification())
            .append("legalRepresentative", getLegalRepresentative())
            .append("idCard", getIdCard())
            .append("address", getAddress())
            .append("jingDu", getJingDu())
            .append("weiDu", getWeiDu())
            .append("district", getDistrict())
            .append("shengFirst", getShengFirst())
            .append("shiSecond", getShiSecond())
            .append("xianThird", getXianThird())
            .append("emailCode", getEmailCode())
            .append("date", getDate())
            .append("tellMan", getTellMan())
            .append("tellPosition", getTellPosition())
            .append("tellPhone", getTellPhone())
            .append("fax", getFax())
            .append("email", getEmail())
            .append("organizationUrl", getOrganizationUrl())
            .append("remarks", getRemarks())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("periodStart", getPeriodStart())
            .append("periodEnd", getPeriodEnd())
            .toString();
    }

	public String getQualification() {
		return qualification;
	}

	public void setQualification(String qualification) {
		this.qualification = qualification;
	}

	public Date getPeriodStart() {
		return periodStart;
	}

	public void setPeriodStart(Date periodStart) {
		this.periodStart = periodStart;
	}

	public Date getPeriodEnd() {
		return periodEnd;
	}

	public void setPeriodEnd(Date periodEnd) {
		this.periodEnd = periodEnd;
	}

	public Integer getRow() {
		return row;
	}

	public void setRow(Integer row) {
		this.row = row;
	}
}
